package com.zlc.common.common.constant;

public class PlatConstant {

    private PlatConstant(){}

    public static final String AOP_KEY_WORD = "AOP_KEY_WORD";

    public static final String UC_APP_MODULE = "UC";

    public static final String DEPT_ROOT_ID = "root";

    public static final String RESOURCE_CATEGORY_WEB = "WEB";
    public static final String RESOURCE_CATEGORY_APP = "APP";

    public static final String RESOURCE_TYPE_MENU = "MENU";
    public static final String RESOURCE_TYPE_GROUP = "GROUP";
    public static final String RESOURCE_TYPE_SUBMENU = "SUBMENU";
    public static final String RESOURCE_TYPE_BUTTON = "BUTTON";

    public static class LoginConstant{

        //登录过期时间 默认一周
        public static final long LOGIN_TIME_OUT_SECOND = 7 * 24 * 60 * 60L;

        //登录状态 在线
        public static final String LOGIN_STATUS_ON = "ON";
        //登录状态退出
        public static final String LOGIN_STATUS_OFF = "OFF";
        //当前用户
        public static final String NOW_USER = "NOW_USER";
    }


    public static class Status{
        //在职
        public static final String ON_JOB = "ON_JOB";
        //离职
        public static final String OFF_JOB = "OFF_JOB";

        public static final String ACTIVE = "ACTIVE";
        public static final String DISABLED = "DISABLED";
    }

    public static final String FLAG_TRUE = "Y";
    public static final String FLAG_FALSE = "N";
}
